package org.example.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @TableName d_staff_record
 */
@TableName(value ="d_staff_record")
@Data
@Schema(name = "换宿记录DStaffRecord" ,description = "换宿记录对象")
public class DStaffRecord implements Serializable {

    @Schema(description = "换宿记录Id")
    @TableId
    private Integer srid;

    @Schema(description = "人员Id")
    private Integer sid;

    @Schema(description = "旧宿舍")
    private String oldApartmentId;

    @Schema(description = "新宿舍")
    private String newApartmentId;

    @Schema(description = "更新时间")
    private Date updateDate;

    private static final long serialVersionUID = 1L;
}